
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
#import <UIKit/UIKit.h>

@protocol WZLocationToolDelegate <NSObject>
-(void)locationReceived:(CLLocation*)location;
-(void)locationFailed;
@end

@interface WZLocationTool : NSObject<CLLocationManagerDelegate>
@property(nonatomic,strong)CLLocationManager *locationManager;
@property(nonatomic,strong)CLLocation *location;

-(void)startLocationManager;

@property(nonatomic,weak)id<WZLocationToolDelegate> delegate;
@end
